projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bab72
)
* src/syssignal.h (signal_handler_t): Restore accidentally removed definition.
author
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 6 Aug 2010 00:07:36 +0000
(17:07 -0700)
committer
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 6 Aug 2010 00:07:36 +0000
(17:07 -0700)
src/syssignal.h
patch
|
blob
|
history
diff --git
a/src/syssignal.h
b/src/syssignal.h
index 57f7f6eec7001fdf8f5df1c9d0019ef30edde3bb..48eb722935335a0740adebaefbeda79cf90bfe34 100644
(file)
--- a/
src/syssignal.h
+++ b/
src/syssignal.h
@@
-68,6
+68,10
@@
extern sigset_t sys_sigmask ();
#undef signal
#define signal(SIG,ACT) sys_signal(SIG,ACT)
+/* Whether this is what all systems want or not, this is what
+ appears to be assumed in the source, for example data.c:arith_error. */
+typedef RETSIGTYPE (*signal_handler_t) (int);
+
signal_handler_t sys_signal (int signal_number, signal_handler_t action);
sigset_t sys_sigblock (sigset_t new_mask);
sigset_t sys_sigunblock (sigset_t new_mask);